PCI: bring pci_get_real_pdev() in line with pci_get_pdev()
authorJan Beulich <jbeulich@suse.com>
Fri, 12 Aug 2022 06:37:50 +0000 (08:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 12 Aug 2022 06:37:50 +0000 (08:37 +0200)
commitf5234f36335618c31963df260704524366f9bb95
tree305a5a17c8e83dc22403e2cf33b3932e5cec9bb8
parenta37f9ea7a651fd798397a3db6dbf7939feeb43a8
PCI: bring pci_get_real_pdev() in line with pci_get_pdev()

Fold the three parameters into a single pci_sbdf_t one.

No functional change intended, despite the "(8 - stride)" ->
"stride" replacement (not really sure why it was written the more
complicated way originally).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Rahul Singh <rahul.singh@arm.com>
Tested-by: Rahul Singh <rahul.singh@arm.com>
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/pci.c
xen/include/xen/pci.h